# @author: jungle
# @create : 2024/9/28 22:54
import sys

from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import QApplication, QWidget

if __name__ == '__main__':
    app = QApplication(sys.argv)
    w = QWidget()
    # 设置窗口标题
    w.setWindowTitle("第一个PyQt程序")
    # 设置图标
    w.setWindowIcon(QIcon('./icon/书包.png'))
    # 隐藏标题栏
    # w.setWindowFlag(Qt.FramelessWindowHint)



    # 调整窗口大小
    w.resize(800, 600)


    w.show()
    app.exec()